package com.estronger.shopmanage.ui.order.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017-08-02.
 */

public class DefaultShopBean implements Parcelable{
    /**
    “provinceid”：1,
     “provincename”：”广东省”,
     “cityid”：2,
     “cityname”：”东莞市”,
     “districtid”：3,
     “districtname”：”莞城区”
    **/
    private String provinceid;
    private String provincename;
    private String cityid;
    private String cityname;
    private String districtid;
    private String districtname;

    public DefaultShopBean() {
    }

    public String getProvinceid() {
        return provinceid;
    }

    public void setProvinceid(String provinceid) {
        this.provinceid = provinceid;
    }

    public String getProvincename() {
        return provincename;
    }

    public void setProvincename(String provincename) {
        this.provincename = provincename;
    }

    public String getCityid() {
        return cityid;
    }

    public void setCityid(String cityid) {
        this.cityid = cityid;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public String getDistrictid() {
        return districtid;
    }

    public void setDistrictid(String districtid) {
        this.districtid = districtid;
    }

    public String getDistrictname() {
        return districtname;
    }

    public void setDistrictname(String districtname) {
        this.districtname = districtname;
    }

    protected DefaultShopBean(Parcel in) {
        provinceid = in.readString();
        provincename = in.readString();
        cityid = in.readString();
        cityname = in.readString();
        districtid = in.readString();
        districtname = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(provinceid);
        dest.writeString(provincename);
        dest.writeString(cityid);
        dest.writeString(cityname);
        dest.writeString(districtid);
        dest.writeString(districtname);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<DefaultShopBean> CREATOR = new Creator<DefaultShopBean>() {
        @Override
        public DefaultShopBean createFromParcel(Parcel in) {
            return new DefaultShopBean(in);
        }

        @Override
        public DefaultShopBean[] newArray(int size) {
            return new DefaultShopBean[size];
        }
    };
}
